import request from '@/utils/request'

// 查询档案管理列表
export function listArchivessystem(query) {
  return request({
    url: '/archives/archivessystem/list',
    method: 'get',
    params: query
  })
}

// 查询档案管理详细
export function getArchivessystem(id) {
  return request({
    url: '/archives/archivessystem/' + id,
    method: 'get'
  })
}

// 新增档案管理
export function addArchivessystem(data) {
  return request({
    url: '/archives/archivessystem',
    method: 'post',
    data: data
  })
}

// 修改档案管理
export function updateArchivessystem(data) {
  return request({
    url: '/archives/archivessystem',
    method: 'put',
    data: data
  })
}

// 删除档案管理
export function delArchivessystem(id) {
  return request({
    url: '/archives/archivessystem/' + id,
    method: 'delete'
  })
}
